﻿package mortal.game.view.copy.escort
{
    import com.mui.controls.*;
    import com.mui.core.*;
    import mortal.game.manager.*;
    import mortal.game.scene3D.map3D.*;
    import mortal.game.view.common.*;
    import mortal.mvc.core.*;

    public class EscortCopyShortcutBarBase extends View
    {
        protected var _bg:GBitmap;
        protected var _title:GBitmap;
        protected var _titleName:String;

        public function EscortCopyShortcutBarBase()
        {
            this.layer = LayerManager.uiLayer;
            return;
        }// end function

        override public function stageResize() : void
        {
            this.x = SceneRange.display.width - 500;
            this.y = 500;
            return;
        }// end function

        private function onResCompl() : void
        {
            this._title.bitmapData = GlobalClass.getBitmapData(this._titleName);
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            this._bg = UIFactory.gBitmap("", 0, 0, this);
            this._title = UIFactory.gBitmap("", 90, -12, this);
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            super.disposeImpl(param1);
            this._bg.dispose(param1);
            this._title.dispose(param1);
            this._bg = null;
            this._title = null;
            return;
        }// end function

    }
}
